Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3489: workload report period average + etc #184

Conversation

jeppekroghitk
Copy link
Contributor

@jeppekroghitk jeppekroghitk commented Jan 2, 2025

Link to ticket

3489

Description

The PR introduces some general changes to the workload report, as well as averages for each period.
Changes include:

  • Removing data provider selector.
  • Adding year selector.
  • Applying filters for nonbillable epics and versions.

Screenshot of the result

N/A

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

@jeppekroghitk jeppekroghitk mentioned this pull request Jan 2, 2025
4 tasks
@jeppekroghitk jeppekroghitk changed the base branch from develop to feature/2597-add-epic-relations January 2, 2025 14:09
@jeppekroghitk jeppekroghitk requested a review from tuj January 2, 2025 14:46
@@ -114,23 +115,74 @@ public function findWorklogsByWorkerAndDateRange(string $workerIdentifier, \Date

public function findBillableWorklogsByWorkerAndDateRange(string $workerIdentifier, \DateTime $dateFrom, \DateTime $dateTo)
{
$nonBillableEpics = NonBillableEpicsEnum::getAsArray();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes cannot work before issue.epics is a field and a migration has been added.
Add this to the Epics PR instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that these changes belong here, as they are connected to the workload report and utilize the additions made in #183 . This PR is based off it as well.

@@ -5,6 +5,7 @@
use App\Entity\Account;
use App\Entity\Client;
use App\Entity\DataProvider;
use App\Entity\Epic;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this

@tuj tuj added the enhancement New feature or request label Jan 3, 2025
@jeppekroghitk jeppekroghitk force-pushed the feature/3489-workload-report-period-average-etc branch 3 times, most recently from 377b748 to f0f0e4e Compare January 3, 2025 15:05
@jeppekroghitk jeppekroghitk requested a review from tuj January 6, 2025 08:35
@jeppekroghitk jeppekroghitk mentioned this pull request Jan 6, 2025
4 tasks
@jeppekroghitk jeppekroghitk force-pushed the feature/3489-workload-report-period-average-etc branch from f0f0e4e to 99cf7ae Compare January 10, 2025 10:06
@jeppekroghitk jeppekroghitk force-pushed the feature/2597-add-epic-relations branch from b33d2b3 to 099623a Compare January 13, 2025 10:24
jeppekroghitk and others added 28 commits January 13, 2025 12:30
@jeppekroghitk jeppekroghitk merged commit ccb5044 into feature/2597-add-epic-relations Jan 13, 2025
9 checks passed
@jeppekroghitk jeppekroghitk deleted the feature/3489-workload-report-period-average-etc branch January 13, 2025 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants